using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace Controls
{
    public abstract class DataManagerCommentControl : BaseDataManagerControl<DAL.Comment>
    {
        public DAL.Comment CurrentComment
        {
            get
            {
                return CurrentItem;
            }
            set
            {
                CurrentItem = value;
            }
        }

        public override string QueryStringName
        {
            get
            {
                return "c";
            }
        }

        protected override DAL.Comment GetItem(long id)
        {
            return DAL.Comments.Item(id);
        }
    }
}